#pragma once

#include <string>

class StringEncoding {
public:
	enum Encoding {
		ANSI = 0,
		UTF8 = 65001,
	};

	static std::wstring toUTF16(const std::string& src, Encoding from);
	static std::string fromUTF16(const std::wstring& src, Encoding to);
	static std::string convert(const std::string& src, Encoding from, Encoding to);
};
